#include <stdio.h>

int main()
{
    FILE *p = fopen("demo_file.txt", "w");
    if (p)
    {
        fputs("hello world\n", p);
        fclose(p);
    }
    return 0;
}

